#ifndef GITSERVERSETTINGS_H
#define GITSERVERSETTINGS_H

#include <QtCore/QSize>
#include <QtCore/QPoint>
#include <QtCore/QSettings>

class Settings : public QSettings
{
public:
    Settings();
    ~Settings();

    bool mustLaunchGitDaemonOnStartup() const;
    void setMustLaunchGitDaemonOnStartup(bool launch);

    QString gitExecutable() const;
    void setGitExecutable(const QString & path);

    bool useDefaultGitPort() const;
    void setUseDefaultGitPort(bool state);

    int gitPort() const;
    void setGitPort(int port);

    QString gitBasePath() const;
    void setGitBasePath(const QString & repo);

    bool mustExportAll() const;
    void setMustExportAll(bool exportall);

    QSize uiSize() const;
    void setUiSize(const QSize & size);

    QPoint uiPosition() const;
    void setUiPosition(const QPoint & pos);


    QByteArray uiState() const;
    void setUiState(const QByteArray & state);
};

#endif // GITSERVERSETTINGS_H
